{{>header}}

{{#if loginUser}}
    <img src="{{#if loginUser.githubId}}{{loginUser.avatar}}{{else}}/avatars/{{loginUser.avatar}}{{/if}}" alt=""><br>
    Name:{{loginUser.username}}<br>
    RegTime:{{loginUser.regTimeStr}}
{{else}}
    <a href="/login">登录</a>&emsp;或&emsp;<a href="/reg">注册</a>
{{/if}}